<!DOCTYPE html>
<html>
<?php 
include "menu.php";
include "../dao/ClienteDAO.php"
?>
<head>
   <meta charset="ISO-8859-1">
<title>Produtos e Cliente</title>
<link rel="stylesheet" type="text/css" href="../jqueryeasyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../jqueryeasyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="../css/layout.css">
<script type="text/javascript" src="../jqueryeasyui/jquery.min.js"></script>
<script type="text/javascript" src="../jqueryeasyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="../javascript/extenso.js"></script>
<script type="text/javascript" src="../javascript/items.js"></script>
<script type="text/javascript" src="../javascript/datagrid-filter.js"></script>

</head>
<body>
	<h2>Proposta comercial</h2>
	<div class="container">
		<?php
			Menu::data();
			Menu::mainMenu();
		?>
	</div>
	<form name="combo_box" action="resumo.php" method="post">
		<div class="grid">
					
			</br></br>
			
			<div class="dg">
			<table id="dg" class="easyui-datagrid" title="Produtos"
				style="width: 600px; height: 500px;font-size: 11px;" data-options="singleSelect:true,url:'../controller/BuscaProduto.php',method:'get'">
				<thead>
					<tr>
						<th data-options="field:'idproduto',width:40,align:'center'">ID</th>
						<th data-options="field:'descricao',width:335">Product</th>
						<th data-options="field:'precoUnit',width:100,align:'center'">Preco	Unitario</th>
						<th data-options="field:'categoria_1',width:100,align:'center'">Categoria</th>
					</tr>
				</thead>
			</table>
			<div style="margin: 10px 0;">
				<a href="#" class="easyui-linkbutton" onclick="getSelected()">Adiciona produto</a>
			</div>
			</div>
			
			<div id="items">
			<h3>Item 1</h3>
			<input type="text" name="tituloItem" autocomplete="on" style="width:500px;">
			</br></br>
			<div id="subitems">
			</div>
			<a href="#" class="easyui-linkbutton" onclick="test()">teste</a>
			<a href="#" id="add" class="easyui-linkbutton" onclick="adicionaSubitem()" >Adiciona Subitem</a>
			</div>
			
			
			
		</div>
	</form>

	</div>
	</div>
</body>
</html>

